package com.pray.praymall.auth.feign;

import com.pray.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * do something
 *
 * @author 魂悸魄
 * @date 2020/9/21 15:49
 */
@FeignClient("praymall-third-party")
public interface ThirdPartyFeignService {
    @GetMapping("/sms/sendCode")
    R sendCode(@RequestParam("phone") String phone, @RequestParam("code") String code);
}
